package com.chenfeng.wiki.service;

import com.chenfeng.wiki.domain.Demo;
import com.chenfeng.wiki.domain.Ebook;
import com.chenfeng.wiki.mapper.DemoMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class DemoService {
    @Resource
    private DemoMapper demoMapper;


    public List<Ebook> list() {
        return demoMapper.selectByExample(null);
    }
}
